package com.lucy.wx.auto;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@Slf4j
@Configuration
@ComponentScan(basePackages = {
        "com.lucy.wx"
})
@EntityScan(
        basePackages = {
                "com.lucy.wx"
        }
)
@EnableJpaRepositories(
        basePackages = {
                "com.lucy.wx"
        }
)
public class WxAutoConfiguration implements EnvironmentAware {
    @Override
    public void setEnvironment(Environment environment) {

    }
}
